package com.petdog.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.petdog.infrastructure.entity.GuideTagRel;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface GuideTagRelMapper extends BaseMapper<GuideTagRel> {
    // 根据指南ID查询标签ID列表
    List<Long> selectTagIdsByGuideId(@Param("guideId") Long guideId);
    
    // 根据标签ID查询指南ID列表
    List<Long> selectGuideIdsByTagId(@Param("tagId") Long tagId);
}